<?php namespace xlx;
use \Workerman\Connection\TcpConnection;
use \Workerman\Connection\AsyncTcpConnection;
use \Workerman\Events\EventInterface;

class S1 extends PrActor
{
    public static function init($super,$args=[]){
        //$super->flags();
        echo "sup init";
        for ($i=0; $i < 30000; $i++) { 
            $super->worker([\xlx\S1::class,'aa']);  
        }             
    } 

    public function aa(){  
        yield PrActor::receive();
    }
} 
